﻿using Wallpaper.Models.DTOs.Requests;
using Wallpaper.Models.DTOs.Responses.Permission;
using Wallpaper.Models.Entities;

namespace Wallpaper.Models.DTOs.Responses
{
    public class MenuSidebarResponse
    {
        public string Id { get; set; }

        public string ParentId { get; set; }

        public string Title { get; set; }

        public string Path { get; set; }

        public string Component { get; set; }
        public string Icon { get; set; }

        public int Type { get; set; }
        public int Sort { get; set; }

        public DateTime CreatedTime { get; set; }


        public List<MenuSidebarResponse> Children { get; set; } = new List<MenuSidebarResponse>();
        public List<PermissionResponse> Permissions { get; set; }

    }
}
